<script setup lang="ts">
import { useMemberStore } from '@/stores/modules/member'
import {http} from '@/utils/http'
// pinia的store不可以进行解构
const memberStore = useMemberStore()
console.log(memberStore.profile)
// 只要赋值storage state
// 自动进行持久化
// 对storage state的修改，刷新应用之后依然生效
memberStore.profile = { name: '张三' }
http({url:'/home/category/mutli',method:'GET'}).then(res=>{
  console.log(res)
})
</script>

<template>
  <view class="index">index</view>
  <uni-countdown :day="1" :hour="1" :minute="12" :second="40"></uni-countdown>
</template>

<style lang="scss">
//
</style>
